package com.envper.common.mapper;

import com.envper.common.domain.dto.RepairDto;
import com.envper.mysql.domain.entity.TRepair;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface RepairMapper {

    RepairMapper INSTANCE = Mappers.getMapper(RepairMapper.class);

    RepairDto toRepairDto(TRepair tRepair);

    List<RepairDto> toRepairDtoList(List<TRepair> tRepairList);
}
